// API 基础配置
export const API_BASE_URL = 'http://116.205.125.230:3000';

// API 端点
export const API_ENDPOINTS = {
  residents: '/api/residents',
  staff: '/api/staff',
  medical: '/api/medical',
  activities: '/api/activities',
  dining: '/api/dining',
  facility: '/api/facility'
};

// 创建完整的 API URL
export const getApiUrl = (endpoint: string) => `${API_BASE_URL}${endpoint}`; 